import request from '/@/utils/request';
//医生下拉列表
export function getDoctorList() {
	return request({
		url: '/admin/user/getFamilyDoctorList',
		method: 'get',
	});
}

export function getAllZbDoctor() {
	return request({
		url: '/admin/bloodxCustomerSpecial/getAllZbDoctor',
		method: 'get',
	});
}

// /admin/bloodxCustomerSpecial/getAllZbAideDoctor
export function getAllZbAideDoctor() {
	return request({
		url: '/admin/bloodxCustomerSpecial/getAllZbAideDoctor',
		method: 'get',
	});
}


export function addVillage(obj?: Object) {
	return request({
		url: '/sysVillage/sysVillage',
		method: 'post',
		data: obj,
	});
}

export function editVillage(obj?: Object) {
	return request({
		url: '/sysVillage/sysVillage',
		method: 'put',
		data: obj,
	});
}

export function villageList(query?: Object) {
	return request({
		url: '/sysVillage/sysVillage/page',
		method: 'get',
		params: query,
	});
}
